package com.seven.good.enums;

public enum GoodStateEnum {

    /**
     * @ Description   :   待审核 ：0
     * @ Author        :  lee
     * @ CreateDate    :  2019/10/17 16:03
     */
    TO_CHECK("待审核",0),
    /**
     * @ Description   :   审核未通过 ：1
     * @ Author        :  lee
     * @ CreateDate    :  2019/10/17 16:03
     */
    CHECK_FAIL("审核未通过",1),
    /**
     * @ Description   :   正在拍卖 ：2
     * @ Author        :  lee
     * @ CreateDate    :  2019/10/17 16:03
     */
    AUCTIONING("正在拍卖",2),
    /**
     * @ Description   :   未开拍 （审核通过）：3
     * @ Author        :  lee
     * @ CreateDate    :  2019/10/17 16:03
     */
    TO_AUCTION("未开拍",3),
    /**
     * @ Description   :   流拍 ：4
     * @ Author        :  lee
     * @ CreateDate    :  2019/10/17 16:03
     */
    ABORTIVE("流拍",4),
    /**
     * @ Description   :   成交 ：5
     * @ Author        :  lee
     * @ CreateDate    :  2019/10/17 16:03
     */
    KNOCK_DOWN("成交",5);

    private String description;
    private Integer code;

    public String getDescription() {
        return description;
    }

    public Integer getCode() {
        return code;
    }

    GoodStateEnum(String description, Integer code) {
        this.description=description;
        this.code=code;
    }
}
